<!DOCTYPE html>
<!-- saved from url=(0025)http://licai.tkcode8.com/ -->
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="__WAPCSS__/layer.css" id="layui_layer_skinlayercss" style=""></head>
<body class="loginRreg_bg mui-ios mui-ios-9 mui-ios-9-1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>同福商务系统 - 会员登录</title>
<link href="__WAPCSS__/login.css" rel="stylesheet">
<link href="__WAPCSS__/bass.css" rel="stylesheet">
<link href="__WAPCSS__/iconfont.css" rel="stylesheet">
<div class="login-box" style="padding-bottom:0px;">
    <div class="head-login">
        <div class="logo">
            <img src="__WAPIMG__/logo.png">
            <p></p>
        </div>
    </div>
    <div class="login">
        <form class="form-horizontal" data-ajax="true" data-ajax-method="Post" data-ajax-success="afterPost" id="loginForm" method="post">
            <div class="input-row">
                <label><i class="icon iconfont icon-iconhuiuyuan"></i></label>
                <input name="UserId" type="text" id="username" class="btn-text" placeholder="输入账号(手机号)" autocomplete="off">
            </div>

            <div class="input-row">
                <label><i class="icon iconfont icon-xiugaimima"></i></label>
                <input name="PassWord" type="password" id="pwd" class="btn-text" placeholder="输入密码" autocomplete="off">
                <input name="imei" type="hidden">
            </div>
            <div class="input-row">
                <label><i class="icon iconfont icon-yanzhengma1"></i></label>

                <input class="code-in v-b-s" name="vcode" type="text" id="x3" placeholder="验证码">
                <a class="code-a" onclick="this.src=this.src+&#39;?&#39;+Math.random();"><img id="img" src="__WAPIMG__/getCode.php"></a>

            </div>
            <input type="submit" name="btnSave" value="登录" id="btnSave" class="btn cy-btn btn-red btn-login">

            <input style="display:none;" type="checkbox" id="remember" value="1" checked="CHECKED">
        </form>
        <div class="login-reg">

            <a class="reg-right p_left2" href="{:url('getpwd')}">忘记密码？</a>
        </div>

    </div>

</div>

<script src="__WAPJS__/jquery.min.js"></script>
<script src="__WAPJS__/bootstrap.min.js"></script>
<script src="__WAPJS__/jquery.backstretch.min.js"></script>
<script src="__WAPJS__/layer.js"></script>
<script src="__WAPJS__/long.js"></script>

<script>

    $(".btn-login").click(function () {
        denglu_go();
        return false;
    });
    function denglu_go(){
        var username=$("#username").val();
        var pwd=$("#pwd").val();
        var x3=$("#x3").val();
        var remember=$("#remember").prop('checked');
        if(username==""){
            tishi4('请输入您的账号','#username')
            return false;
        }
        if(pwd==""){
            tishi4('请输入您的密码','#pwd')
            return false;
        }
        if(x3==""){
            tishi4('请输入验证码','#x3')
            return false;
        }
        var url="/wap/login/bin?act=login&username="+encodeURI(username)+"&pwd="+encodeURI(pwd)+"&verify="+encodeURI(x3)+"&remember="+encodeURI(remember.toString());
        tishi2();
        $.ajax({ type : "get", async:true,  url : url, dataType : "json",
            success: function(json){
                tishi2close();
                if(json.state == true){
                    //layer.alert(json.msg,function(){
                    //跳转
                    window.location.href = '/wap/';
                    //});

                } else {
                    layer.alert(json.msg);
                }
            },
            error:function(json){
                tishi2close();
                layer.alert('网络错误，请重新提交');
            }
        });
    }

</script>


</body></html>